package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.SimUserRenewal;
import org.dromara.system.domain.base.BasePageReqDTO;

import java.math.BigDecimal;

/**
 * 续期成本业务对象 sim_user_renewal
 *
 * @author Lion Li
 * @date 2025-08-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SimUserRenewal.class, reverseConvertGenerate = false)
public class SimUserRenewalBo extends BasePageReqDTO {

    /**
     *
     */
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     * 续期年数
     */
    @NotNull(message = "续期年数不能为空")
    private Integer yearNum;

    /**
     * 续期成本
     */
    @NotNull(message = "续期成本不能为空")
    private BigDecimal renewalAmount;

    /**
     * 备注
     */
    private String remark;


}
